﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SobFS.Common;
using System.Text;

namespace SobFS.Web.backend
{
    public partial class index : SobFS.Web.UI.BackendPage
    {
        private Model.SysUser userInfo;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                userInfo = GetSysUserInfo();
                if (userInfo == null)
                {
                    JsMessageBox("请登录......", "exit.aspx", UI.JsMessageBoxCss.Error);
                }
                else
                {
                    //TODO 绑定菜单，加载用户信息
                   
                }
            }
        }

        protected void lbtnExit_Click(object sender, EventArgs e)
        {
            Response.Redirect("exit.aspx");
        }

      

    }
}